//
//  LiuYangViewController.m
//  XingMei
//
//  Created by 姚琪 on 2019/3/27.
//  Copyright © 2019年 钱金军. All rights reserved.
//

#import "LiuYangViewController.h"
#import "WJTextView.h"
@interface LiuYangViewController ()
@property (nonatomic,strong) UIView *liuYanFaBuView;
@property (nonatomic,strong) WJTextView *biaoTiTextView;
@property (nonatomic,strong) WJTextView *contentTextView;
@property(nonatomic , strong) UIImageView * imageV;
@end

@implementation LiuYangViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setNavTitleText:@"投诉与建议"];
    [self addLiuYanFaBuView];
    // Do any additional setup after loading the view.
}

- (void)addLiuYanFaBuView{
    
    UIButton *faBu = [[UIButton alloc] initWithFrame:CGRectMake(KScreenWidth - 10 - 54, Height_StatusBar, 54, 44)];
    [faBu setTitle:@"提交" forState:UIControlStateNormal];
    [faBu setTitleColor:rgb_153 forState:UIControlStateNormal];
    faBu.titleLabel.font = MediumFont(13);
    [faBu addTarget:self action:@selector(liuYanFaBu) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:faBu];
    
    
    
    UILabel *biaoTi = [[UILabel alloc] initWithFrame:CGRectMake(15, Height_NavBar , 40, 40)];
    biaoTi.text = @"标题";
    biaoTi.font = MediumFont(14);
    [self.view addSubview:biaoTi];
    
    _biaoTiTextView = [[WJTextView alloc] initWithFrame:CGRectMake(biaoTi.right + 10, biaoTi.yv, KScreenWidth-biaoTi.right - 15 - 10, 40)];

    _biaoTiTextView.placehoder = @"请输入您的投诉建议标题";
    _biaoTiTextView.placehoderColor = rgb_153;
    _biaoTiTextView.font = MediumFont(14);
    _biaoTiTextView.textColor = rgb_153;
    [self.view  addSubview:_biaoTiTextView];
    UIView *view=[[UIView alloc]initWithFrame:CGRectMake(_biaoTiTextView.xv, biaoTi.bottom + 10, _biaoTiTextView.width,0.5)];
    view.backgroundColor=rgb(232,232,232);
    [self.view addSubview:view];
    
    
    
    
    UILabel *content = [[UILabel alloc] initWithFrame:CGRectMake(biaoTi.xv, view.bottom+10, biaoTi.width, biaoTi.height)];
    content.text = @"内容";
    content.font = MediumFont(14);
    [self.view addSubview:content];
    
    _contentTextView = [[WJTextView alloc] initWithFrame:CGRectMake(_biaoTiTextView.xv, content.yv, _biaoTiTextView.width, 165)];
    _contentTextView.placehoder = @"请输入您的反馈，我们讲不断为您改进，一经核实，讲尽快联系您";
    _contentTextView.placehoderColor = rgb_153;
    _contentTextView.font = MediumFont(14);
    _contentTextView.textColor = rgb_153;
    [self.view addSubview:_contentTextView];
    
    
    UIView *line=[[UIView alloc]initWithFrame:CGRectMake(_contentTextView.xv, _contentTextView.bottom + 5, _contentTextView.width,0.5)];
    line.backgroundColor=rgb(232,232,232);
    [self.view addSubview:line];
    
    UILabel *jietu = [[UILabel alloc] initWithFrame:CGRectMake(biaoTi.xv, line.bottom+10, biaoTi.width, biaoTi.height)];
    jietu.text = @"截图";
    jietu.font = MediumFont(14);
    [self.view addSubview:jietu];
    
    self.imageV = [[UIImageView alloc]initWithFrame:CGRectMake(jietu.right + 10, jietu.yv, 100, 100)];
    self.imageV.image = [UIImage imageNamed:@"apply_img_1"];
    self.imageV.userInteractionEnabled = YES;
    [self.view addSubview:self.imageV];
    UIGestureRecognizer *tap = [[UIGestureRecognizer alloc]initWithTarget:self action:@selector(chooseImageView)];
    [self.imageV addGestureRecognizer:tap];
    
    
    
    
}
-(void)liuYanFaBu{
    
}
-(void)chooseImageView{
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
